package com.green.javagreen.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;

@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "管理员实体")
@Data
@Entity
public class AdminUserBean extends BaseUserBean {


    @ApiModelProperty(value = "是否是超级管理员")
    @Column(columnDefinition = "tinyint default 0")
    private Boolean isSuperAdmin;



}
